package com.niiwoo.civet.user.dao.mapper;

import com.niiwoo.civet.user.dao.entity.UserLibraLoanLimit;
import org.apache.ibatis.annotations.Param;

public interface UserLibraLoanLimitMapperExt extends UserLibraLoanLimitMapper{

    UserLibraLoanLimit selectByUserId(String userId);

    UserLibraLoanLimit selectByUserIdAndProductType(@Param("userId") String userId, @Param("productType") Byte productType);

    int updateByUserIdAndType(UserLibraLoanLimit libraLoanLimit);
}